package 错题;

import java.util.Arrays;

public class Problem02 {
    int a;
    public static void main(String[] args) {
        int[] one = {4,6,8};
        int[] two = {1,3,5,7,9};
        Problem02 p = new Problem02();
        System.out.println(p.a);

        System.arraycopy(one,2,two,2,1);//要复制的，从哪里复制，复制目标，从哪里复制，复制的长度

        System.out.println(Arrays.toString(two));
    }
}
